package fun.anin.aninhongbao.receive.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/***
 * 钱包队列配置
 * @author anin
 * @date: 2020/4/2 15:43
 * @version : V1.0
 */
@Configuration
public class WalletMQConfig {

    /**
     * 钱包到账队列
     */
    @Bean
    public Queue arrivalQueue(){
        return new Queue("redpacket.arrival");
    }
}
